package com.ruoyi.system.controller.es;

import com.ruoyi.system.controller.es.dto.EsSearch;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;
import org.springframework.stereotype.Repository;

import java.util.List;


/**
 * @author: cyf
 * @Date:
 */
@Repository
public interface EsUnRepository extends ElasticsearchRepository<EsSearch, String> {
    EsSearch save(EsSearch esSearch);
    void delete(EsSearch esUn);
}
